﻿using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Data.Entity.Repository.Filters;

namespace Testing.UnitTests
{
    public interface IQueryableTestFilter
    {}

    public class QueryableTestFilter : IQueryableFilter, IQueryableTestFilter
    {
        public IQueryable<T> Filter<T>(IQueryable<T> profileFields, dynamic parameterBag = null)
        {
            return profileFields
                .Where(x => (x as TestEntity).Active == true);
        }
    }
}
